Learn R Programming

bnlearn (version 4.4.1)

test counter: Manipulating the test counter

Description

Check, increment or reset the test/score counter used in structure learning algorithms.

Usage

test.counter()
increment.test.counter(i = 1)
reset.test.counter()

Arguments

i

a numeric value, which is added to the test counter.

Value

A numeric value, the current value of the test counter.

Examples

Run this code
# NOT RUN {
data(learning.test)
hc(learning.test)
test.counter()
reset.test.counter()
test.counter()
# }

Run the code above in your browser using DataLab